/**
 * 
 */
package com.ccrc.lang;

import java.util.List;

import com.google.common.base.Joiner;

/**
 * @author Jalen
 *
 */
public final class KeyUtil {
	
	public static final String KEY_SEPARATOR = "-";

	private KeyUtil() {
		
	}
	
	public static String getKey(String... args) {
		return Joiner.on(KEY_SEPARATOR).join(args);
	}

	public static String getKey(List<String> array) {
		return Joiner.on(KEY_SEPARATOR).join(array);
	}

}
